#pragma once
#include <QSettings>
#include <QFileInfo>
#include <QDir>
#include <QtQml/qqml.h>

class UserSettings : public QSettings
{
    Q_OBJECT
    QML_ELEMENT

public:
    UserSettings(const QString& fileName, QSettings::Format format = QSettings::IniFormat, QObject* parent = nullptr);
    ~UserSettings();

private:
    QFileInfo settingsFileInfo;
};
